CXX:=g++
CXXFLAGS:=-std=c++11

all : server client

objects=Epoll.o InetAddress.o Socket.o SocketIO.o TcpConnection.o

server : $(objects) Acceptor.o TcpServer.o
	g++ $^ -o $@ -std=c++11

client : $(objects) TcpClient.o
	g++ $^ -o $@ -std=c++11

.PHONY : clean
clean :
	rm *.o server client recvfile/*
